<div class="user">
    <div class="dropdown">
        <a href="#" class='dropdown-toggle' data-toggle="dropdown"><?php echo $_SESSION['username'];?>
            <?php echo $this->Html->image('user-avatar-white.png');?>
        </a>
        <ul class="dropdown-menu pull-right">
            <li>
                <?php echo $this->Html->link('<i class="icon icon-signout"></i> Sair','/logout',array('escape'=>false))?>
            </li>
        </ul>
    </div>
</div>